﻿<%@ page language="java" contentType="text/html; charset=UTF-8"  pageEncoding="UTF-8"%>
<%@include file="/WEB-INF/common/topBegin.jsp"%>
<link rel="stylesheet" type="text/css" href="${ctx}/js/public/Validform/css/Validform.css"/>
<link rel="stylesheet" type="text/css" href="${ctx}/js/public/Validform/css/right_yz.css"/>
 <script type="text/javascript" src="${ctx}/js/jquery-1.7.1.min.js"></script>
 <script language="JavaScript" type="text/javascript" src="${ctx}/js/public/Validform/Validform_v5.3.2.js"></script>
 <script language="JavaScript" type="text/javascript" src="${ctx}/js/public/Validform/right_Validform_v5.3.2_config.js"></script>
 <script type="text/javascript" src="${ctx}/js/extjs/ext-base.js"></script>
<script type="text/javascript" src="${ctx}/js/extjs/ext-all.js"></script>
<script type="text/javascript" src="${ctx}/js/extjs/ui/ext-ui.js"></script>
<script type="text/javascript" src="${ctx}/js/public/console.js"></script>
<script type="text/javascript" src="${ctx}/js/extjs/ux/Toast.js"></script>
<script>
var cfg = {cxt:'${ctx}'};
<c:if test="${not empty entity}">
	<c:set var="url" value="smsInfo/update.action"/>
</c:if>
<c:if test="${ empty entity}">
<c:set var="url" value="smsInfo/add.action"/>
</c:if>
</script>
</head>
<body>
<div  id="table_form_div" class="table_form1">
<form  action="${ctx}/${url}" method="post" id="formobj" enctype="multipart/form-data">
 <input type="hidden" id="subBtn"   />
 <input type="hidden" id="backTip"  value="操作成功" />
  <table class="table-form" width="100%">
   <tbody>
      <tr>
            <td  width="10%" class="table-th">
		  	<input type="button" id="btn_upload" value="发送人员" onclick="smsForm.openMemberView();"/>
		  </td>
         <td colspan="5"><div id="div_member">
	         <div id="div_members">${entity.member.name }</div>
	         <input type="hidden" id="hid_member_ids" name="memberIds" />
        </td>     
      </tr>
      <tr>
           <td  width="15%" class="table-th">短信内容<font color="red">*</font></td>
		   <td class="table-td" colspan="3">
	            <textArea id="sms_plan"  class="textarea" style="width:98%;" cols="75" rows="3" name="content"  maxlength="128"   datatype="*" >${entity.content }</textArea>
	       </td>          
      </tr>
	 </tbody>
  </table>
   <input type="hidden" id="id"  name="id" value="${entity.id}" />
  </form>
  </div>
  <script type="text/javascript" src="${ctx}/js/app-web/biz/sms/smsForm.js"></script>
  </body>
  </html>
  